import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}
class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'flutter widger',
      theme: ThemeData(
        primarySwatch: Colors.red,
      ),
      home: Scaffold(
        appBar: AppBar(
          title: Text('ColumnWidget 纵向布局 demo'),
        ),
        body: Column(
          crossAxisAlignment: CrossAxisAlignment.center, //辅轴
          mainAxisAlignment: MainAxisAlignment.start, //主轴
//          verticalDirection: VerticalDirection.up,
          children: <Widget>[
            Text('成都美女多啊啊'),
            Expanded(
              child:Text('成都美女帅哥多，特别是春熙路，时尚之都不是吹的！',
                style: TextStyle(
                    fontSize: 24.0,
                    color: Colors.blueAccent,
                    fontWeight: FontWeight.bold
                ),),
            ),
            Text('工作996不安逸啊，为了生活不得不低头'),
            Text('你好吗，陌生人！！'),
          ],
        ),
      ),
    );
  }
}